import request from '@/router/axios';

//获取字典
export const getJyspList = (code) => {
  return request({
    url: '/api/blade-system/dict/dictionary',
    method: 'get',
    params: {
        code
    }
  })
}
//获取业务字典
export const getBusDicList = (code) => {
  return request({
    url: '/api/blade-system/dict-biz/dictionary',
    method: 'get',
    params: {
        code
    }
  })
}
export const getBusDicChildList = (parentId) => {
  return request({
    url: '/api/blade-system/dict-biz/child-list',
    method: 'get',
    params: {
      parentId,
    }
  })
}
export const getBusinessList = (code) => {
  return request({
    url: '/api/blade-system/dict-biz/dictionary',
    method: 'get',
    params: {
      code
    }
  })
}
//
export const getMoney = (code) => {
  return request({
    url: '/api/blade-human/human-oa/joblevelsalary/findAll',
    method: 'get',
    params: {
      code
    }
  })
}
//删除文件
export const qmRemove = (path) => {
  return request({
    url: '/api/blade-upload/file/delete',
    method: 'get',
    params: {
      path
    }
  })
}
